import java.io.IOException;
import java.sql.SQLException;
//comma
public class Main {
    public static void main(String[] args) throws IOException, SQLException {
		String confFileName;
		if (args.length == 0)
			confFileName = "main.conf";
		else
			confFileName = args[0];
		ScanConfig conf = new ScanConfig(confFileName);
		System.out.println(conf.getDir());
		System.out.println(Integer.toString(conf.getDel()));
		Connector conn = new Connector();
		conn.init("127.0.0.1:1433", "alex", "123");
		conn.getData();
	}
}

